<?php
if(!interface_exists('XPointcut', false)){
	require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'XPointcut.php');
}
abstract class XAbstractPointcut implements XPointcut{
	protected $source = null;
	protected $method = null;
	protected $pattern = null;
	
	public function __construct($source, $method, $pattern){
		$this->source = $source;
		$this->method = $method;
		$this->pattern = $pattern;
	}
	
	public function getSource(){
		return $this->source;
	}
	
	public function getMethod(){
		return $this->method;
	}
	
	public function getName(){
		return $this->source.'.'.$this->method.'()';
	}
	
	public function match($class, $method){
		
	}
}
?>